package com.company.huisuo.biz.bean

import com.google.gson.annotations.SerializedName

/**
 * 产品数据模型
 */
data class ProductBean(
    @SerializedName("id")
    val id: String,
    
    @SerializedName("name")
    val name: String,
    
    @SerializedName("introduction")
    val introduction: String,
    
    @SerializedName("categoryId")
    val categoryId: String,
    
    @SerializedName("picUrl")
    val picUrl: String,
    
    @SerializedName("sliderPicUrls")
    val sliderPicUrls: List<String>,
    
    @SerializedName("specType")
    val specType: Boolean,
    
    @SerializedName("price")
    val price: Int,
    
    @SerializedName("marketPrice")
    val marketPrice: Int,
    
    @SerializedName("stock")
    val stock: Int,
    
    @SerializedName("salesCount")
    val salesCount: Int,
    
    @SerializedName("deliveryTypes")
    val deliveryTypes: List<Int>,
    
    var number: Int = 0 // 购物车中的数量
)